function getUrlParams(url:string) {
  console.log(url);
  const s = url.split("?")[1].split("=")
 return s[1]
}
 
// 获取名为'param1'的URL参数
export default getUrlParams